package org.framework.lazy.cloud.network.heartbeat.protocol.auth;

public abstract class AbstractNettyPasswordAuth implements NettyPasswordAuth {


    public abstract boolean doVerify(String username, String password);

    /**
     * 验证账号密码
     *
     * @param username 用户
     * @param password 密码
     * @return
     */
    @Override
    public boolean verify(String username, String password) {
        return doVerify(username, password);
    }
}
